Optimal. Leaf size=98 \[ \frac {3 x \sqrt {b \sec (c+d x)}}{8 \sqrt {\sec (c+d x)}}+\frac {\sqrt {b \sec (c+d x)} \sin (c+d x)}{4 d \sec ^{\frac {7}{2}}(c+d x)}+\frac {3 \sqrt {b \sec (c+d x)} \sin (c+d x)}{8 d \sec ^{\frac {3}{2}}(c+d x)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 98, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {17, 2715, 8}
\begin {gather*} \frac {3 x \sqrt {b \sec (c+d x)}}{8 \sqrt {\sec (c+d x)}}+\frac {3 \sin (c+d x) \sqrt {b \sec (c+d x)}}{8 d \sec ^{\frac {3}{2}}(c+d x)}+\frac {\sin (c+d x) \sqrt {b \sec (c+d x)}}{4 d \sec ^{\frac {7}{2}}(c+d x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 17
Rule 2715
Rubi steps
\begin {align*} \int \frac {\sqrt {b \sec (c+d x)}}{\sec ^{\frac {9}{2}}(c+d x)} \, dx &=\frac {\sqrt {b \sec (c+d x)} \int \cos ^4(c+d x) \, dx}{\sqrt {\sec (c+d x)}}\\ &=\frac {\sqrt {b \sec (c+d x)} \sin (c+d x)}{4 d \sec ^{\frac {7}{2}}(c+d x)}+\frac {\left (3 \sqrt {b \sec (c+d x)}\right ) \int \cos ^2(c+d x) \, dx}{4 \sqrt {\sec (c+d x)}}\\ &=\frac {\sqrt {b \sec (c+d x)} \sin (c+d x)}{4 d \sec ^{\frac {7}{2}}(c+d x)}+\frac {3 \sqrt {b \sec (c+d x)} \sin (c+d x)}{8 d \sec ^{\frac {3}{2}}(c+d x)}+\frac {\left (3 \sqrt {b \sec (c+d x)}\right ) \int 1 \, dx}{8 \sqrt {\sec (c+d x)}}\\ &=\frac {3 x \sqrt {b \sec (c+d x)}}{8 \sqrt {\sec (c+d x)}}+\frac {\sqrt {b \sec (c+d x)} \sin (c+d x)}{4 d \sec ^{\frac {7}{2}}(c+d x)}+\frac {3 \sqrt {b \sec (c+d x)} \sin (c+d x)}{8 d \sec ^{\frac {3}{2}}(c+d x)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.12, size = 55, normalized size = 0.56 \begin {gather*} \frac {\sqrt {b \sec (c+d x)} (12 (c+d x)+8 \sin (2 (c+d x))+\sin (4 (c+d x)))}{32 d \sqrt {\sec (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 36.39, size = 74, normalized size = 0.76
method | result | size |
default | \(\frac {\left (2 \left (\cos ^{3}\left (d x +c \right )\right ) \sin \left (d x +c \right )+3 \sin \left (d x +c \right ) \cos \left (d x +c \right )+3 d x +3 c \right ) \sqrt {\frac {b}{\cos \left (d x +c \right )}}}{8 d \cos \left (d x +c \right )^{4} \left (\frac {1}{\cos \left (d x +c \right )}\right )^{\frac {9}{2}}}\) | \(74\) |
risch | \(\frac {3 \sqrt {\frac {b \,{\mathrm e}^{i \left (d x +c \right )}}{{\mathrm e}^{2 i \left (d x +c \right )}+1}}\, x}{8 \sqrt {\frac {{\mathrm e}^{i \left (d x +c \right )}}{{\mathrm e}^{2 i \left (d x +c \right )}+1}}}-\frac {i \sqrt {\frac {b \,{\mathrm e}^{i \left (d x +c \right )}}{{\mathrm e}^{2 i \left (d x +c \right )}+1}}\, {\mathrm e}^{2 i \left (d x +c \right )}}{8 \sqrt {\frac {{\mathrm e}^{i \left (d x +c \right )}}{{\mathrm e}^{2 i \left (d x +c \right )}+1}}\, d}+\frac {i \sqrt {\frac {b \,{\mathrm e}^{i \left (d x +c \right )}}{{\mathrm e}^{2 i \left (d x +c \right )}+1}}\, {\mathrm e}^{-2 i \left (d x +c \right )}}{8 \sqrt {\frac {{\mathrm e}^{i \left (d x +c \right )}}{{\mathrm e}^{2 i \left (d x +c \right )}+1}}\, d}+\frac {\sqrt {\frac {b \,{\mathrm e}^{i \left (d x +c \right )}}{{\mathrm e}^{2 i \left (d x +c \right )}+1}}\, \sin \left (4 d x +4 c \right )}{32 \sqrt {\frac {{\mathrm e}^{i \left (d x +c \right )}}{{\mathrm e}^{2 i \left (d x +c \right )}+1}}\, d}\) | \(253\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.63, size = 49, normalized size = 0.50 \begin {gather*} \frac {{\left (12 \, d x + 12 \, c + \sin \left (4 \, d x + 4 \, c\right ) + 8 \, \sin \left (\frac {1}{2} \, \arctan \left (\sin \left (4 \, d x + 4 \, c\right ), \cos \left (4 \, d x + 4 \, c\right )\right )\right )\right )} \sqrt {b}}{32 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 4.05, size = 202, normalized size = 2.06 \begin {gather*} \left [\frac {\frac {2 \, {\left (2 \, \cos \left (d x + c\right )^{4} + 3 \, \cos \left (d x + c\right )^{2}\right )} \sqrt {\frac {b}{\cos \left (d x + c\right )}} \sin \left (d x + c\right )}{\sqrt {\cos \left (d x + c\right )}} + 3 \, \sqrt {-b} \log \left (-2 \, \sqrt {-b} \sqrt {\frac {b}{\cos \left (d x + c\right )}} \cos \left (d x + c\right )^{\frac {3}{2}} \sin \left (d x + c\right ) + 2 \, b \cos \left (d x + c\right )^{2} - b\right )}{16 \, d}, \frac {\frac {{\left (2 \, \cos \left (d x + c\right )^{4} + 3 \, \cos \left (d x + c\right )^{2}\right )} \sqrt {\frac {b}{\cos \left (d x + c\right )}} \sin \left (d x + c\right )}{\sqrt {\cos \left (d x + c\right )}} + 3 \, \sqrt {b} \arctan \left (\frac {\sqrt {\frac {b}{\cos \left (d x + c\right )}} \sin \left (d x + c\right )}{\sqrt {b} \sqrt {\cos \left (d x + c\right )}}\right )}{8 \, d}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.71, size = 52, normalized size = 0.53 \begin {gather*} \frac {\sqrt {\frac {b}{\cos \left (c+d\,x\right )}}\,\left (8\,\sin \left (2\,c+2\,d\,x\right )+\sin \left (4\,c+4\,d\,x\right )+12\,d\,x\right )}{32\,d\,\sqrt {\frac {1}{\cos \left (c+d\,x\right )}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________